Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 13 - View Objects / View Objects Reference
View Objects Routines / Picking in a View


Q3View_StartPicking

You can use the Q3View_StartPicking function to start picking in a view.

TQ3Status Q3View_StartPicking (
TQ3ViewObject view,
TQ3PickObject pick);
view
A view.
pick
A pick object.
DESCRIPTION
The Q3View_StartPicking function begins the process of picking in the view specified by the view parameter, using the pick object specified by the pick parameter. After calling Q3View_StartPicking, you specify the model (for instance, by calling Q3Geometry_Submit). When you have completely specified that model, you should call Q3View_EndPicking to complete the picking operation. The renderer attached to the specified view might need to reprocess the model data, so you should always call Q3View_StartPicking and Q3View_EndPicking in a picking loop.

SPECIAL CONSIDERATIONS
You should not call Q3View_StartPicking while picking is already occurring.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996